package mysql

import "gorm.io/gorm"

type Myself struct {
	gorm.Model
	Username string  `json:"username" gorm:"type:varchar(11);not null;comment:'用户名'"`
	Tel      string  `json:"tel" gorm:"type:varchar(11);not null;index:tel_idx;comment:'手机号'"`
	Email    string  `json:"email" gorm:"type:varchar(30);not null;comment:'邮箱'"`
	Price    float64 `json:"price" gorm:"type:float(10,2);comment:'账号余额';not null"`
}
